package net.ebakker.feededitor.database;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import javax.annotation.CheckForNull;

public class PostgresQuerier {

	private Connection conn;

	public PostgresQuerier(Connection conn) {
		this.conn = conn;
	}

	@CheckForNull
	public ResultSet executeQuery(String query) throws SQLException {
		Statement st = null;
		st = conn.createStatement();
		return st.executeQuery(query);
	}

}
